import 'package:flutter/material.dart';

class ListViewListTile extends StatelessWidget {


  @override
  Widget build(BuildContext context) {

    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            leading: IconButton(
              onPressed: (){},
              icon: const Icon(Icons.ac_unit,color: Colors.cyanAccent,),
            ),
          ),
          body: Expanded(
            child: ListView(//列表视图
              children: <Widget>[
                ListTile(  //列表块
                  leading: const Icon(
                    Icons.article_outlined,
                    color: Colors.pinkAccent,
                    size: 30,
                  ),
                  trailing: const Icon(Icons.arrow_forward_ios),
                  title: const Text(
                    '账号管理',
                    style: TextStyle(
                      fontSize: 20,
                      fontFamily: "YouYuan",
                    ),
                  ),
                  onTap: (){},
                ),
                ListTile(
                  leading: const Icon(
                    Icons.account_circle_outlined,
                    color: Colors.pinkAccent,
                    size: 30,
                  ),
                  trailing: const Icon(Icons.arrow_forward_ios),
                  title: const Text(
                    '个人信息',
                    style: TextStyle(
                      fontSize: 20,
                      fontFamily: "YouYuan",
                    ),
                  ),
                  onTap: (){},
                ),
                ListTile(
                  leading: const Icon(
                    Icons.add_moderator_outlined,
                    color: Colors.pinkAccent,
                    size: 30,
                  ),
                  trailing: const Icon(Icons.arrow_forward_ios),
                  title:const Text(
                    '账号安全',
                    style: TextStyle(
                      fontSize: 20,
                      fontFamily: "YouYuan",
                    ),
                  ),
                  onTap: (){},
                ),
              ],
            ),
          ),
      ),

    );
  }

}